package com.fay.designPattern.pattern.behavior.observer;

import org.apache.logging.log4j.message.Message;

/**
 * @Title:
 * @Description:
 * @Author Fay Wang
 * @Date 2022/4/20 14:24
 * @Version 1.0
 */
public class ConcreteObserverOne implements Observer {
    @Override
    public void update(Message message) {
        // 执行
        System.out.println("ConcreteObserverOne is notified");
    }
}
